package com.example.a12138.myapplication.Activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.a12138.myapplication.R;

public class GlideActivity extends AppCompatActivity {
    ImageView imageView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_glide);
        imageView= findViewById(R.id.iv);
        Glide.with(this).load("http://122.112.245.136:5555/Public/images/banner1.png")

                .into(imageView);
    }
}
